import React from 'react'

import { Routes, RouteWithSubRoutes } from '@/config/routes';


const RouteContent = () => (
    <div style={{ margin: 16, padding: 16, background: '#fff', minHeight: 360 }}>
        {
            Routes.map(route => (
                <RouteWithSubRoutes {...route} />
            ))
        }
    </div>
)

export default RouteContent;
